package main

func add(a, b int) int {
  return a + b
}

func sub(a, b int) int {
  return a - b
}

func calc(a, b int, op func(int, int) int) int {
  return op(a, b)
}

func testFunc5() {
  sum := calc(100,300, add)
  minus := calc(100,300, sub)
  println(sum,minus)
}

func main() {
  testFunc5()
}
